//**************************************************************************
// Copyright 2008 Peter Project (http://www.codeplex.com/peter)
//
// License : GNU General Public License (GPL)
// For full text of the license please goto:
// http://www.gnu.org/licenses/gpl-2.0.html
//
// This code is provided on an AS IS basis, with no WARRANTIES,
// CONDITIONS or GUARANTEES of any kind.
//
//		File: cProjectInfo.cs
//
//**************************************************************************

using System.Windows.Forms;

namespace Peter
{
    /// <summary>
    /// This class Holds Information about a specific project...
    /// </summary>
    public class cProjectInfo
    {
        /// <summary>
        /// Path of Project on Disk...
        /// </summary>
        private string m_ProjectPath;

        /// <summary>
        /// Name of Project....
        /// </summary>
        private string m_ProjectName;

        /// <summary>
        /// Type of Project...
        /// </summary>
        private string m_ProjectType;

        /// <summary>
        /// TreeNode list of Project Data...
        /// </summary>
        private TreeNode m_ProjectData;

        /// <summary>
        /// Creates a new Project Info Class...
        /// </summary>
        public cProjectInfo ()
        {
            this.m_ProjectPath = "";
            this.m_ProjectName = "";
            this.m_ProjectType = "";
            this.m_ProjectData = null;
        }

        /// <summary>
        /// Gets or Sets the Path of the Project...
        /// </summary>
        public string Path
        {
            get { return this.m_ProjectPath; }
            set { this.m_ProjectPath = value; }
        }

        /// <summary>
        /// Gets or Sets the Name of the Project...
        /// </summary>
        public string Name
        {
            get { return this.m_ProjectName; }
            set { this.m_ProjectName = value; }
        }

        /// <summary>
        /// Gets or Sets the Type of the Project...
        /// </summary>
        public string Type
        {
            get { return this.m_ProjectType; }
            set { this.m_ProjectType = value; }
        }

        /// <summary>
        /// Gets or Sets the Data of the Project...
        /// </summary>
        public TreeNode Data
        {
            get { return this.m_ProjectData; }
            set { this.m_ProjectData = value; }
        }
    }
}
